package com.zhiyou100.servicrImpl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou100.mapper.account.AccountMapper;
import com.zhiyou100.model.HospitalClear;
import com.zhiyou100.service.AccountService;
@Service
public class AccountServiceImpl implements AccountService{
	@Autowired
	private AccountMapper mapper;
	@Override
	public List<HospitalClear> findAll(Map<String, Object> map) {
		List<HospitalClear> lists = mapper.findAll(map);
		return lists;
	}
	@Override
	public void updateById(int id) {
		mapper.updateById(id);
		
	}
	@Override
	public List<HospitalClear> findById(int id) {
		List<HospitalClear> hc = mapper.findById(id);
		
		return hc;
	}

}
